
#ifndef   __UTILS_H__
#define   __UTILS_H__

#define   UTIL_ENTER_NUMBER_BUF_MAX			12

typedef struct 
{
		char inp_buf[UTIL_ENTER_NUMBER_BUF_MAX];
		unsigned char p_inp_buf;
}enter_number_t;

extern enter_number_t util_enter_number_inf;

void util_enter_number ( void );

/* ============================================================================= */

#define   UEP_INP_BUF_SIZE			12
typedef struct 
{
		unsigned char  inp_buf[UEP_INP_BUF_SIZE];
		unsigned char  p_inp_buf;
		unsigned short addr_passw;
		short 			try_num;
		
}util_enter_passw_t;

extern util_enter_passw_t enter_passw_inf;

void util_enter_password ( void );

/* ============================================================================= */

typedef struct _util_enter_data
{
		int *msgs_to_play;
		int msg_to_play;
		int post_msg_to_play; 
		char *data;
}util_enter_data_t;

extern util_enter_data_t util_enter_data_inf;

void util_enter_data ( void );

/* ============================================================================= */

typedef struct
{
		unsigned int record_address;
		int msg_to_play;
		int *msgs_to_play;
		int post_msg_to_play; 
}util_audio_record_t;

extern util_audio_record_t	util_audio_record_inf;

void util_audio_record ( void );

/* ============================================================================= */

#endif
